package com.bwie.es.remote;

import com.bwie.common.domain.Ticket;
import com.bwie.common.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.List;

@FeignClient("bwie-list")
public interface TicketFeignService {
    @PostMapping("list")
    public Result<List<Ticket>> list();
}
